package net.hcdz.identity.util;

import org.apache.struts2.ServletActionContext;

import net.hcdz.identity.bean.User;



public class Contant {
	
	public final static String SESSION_USER = "session_user";
	
	public static final String VCODE = "vcode";
	
	public static final String FileName = "fileName";
	
	public static final String REMME = "remme";
	
	public static String PATHCODE = "pathcode";
	

	public static User getCurrentUser() {
		return (User)ServletActionContext.getRequest().getSession().getAttribute(SESSION_USER);
	}
}
